Write-Behind Logging

نویسندگان

  • Joy Arulraj
  • Matthew Perron
  • Andrew Pavlo
چکیده

The design of the logging and recovery components of database management systems (DBMSs) has always been influenced by the difference in the performance characteristics of volatile (DRAM) and non-volatile storage devices (HDD/SSDs). The key assumption has been that non-volatile storage is much slower than DRAM and only supports block-oriented read/writes. But the arrival of new nonvolatile memory (NVM) storage that is almost as fast as DRAM with fine-grained read/writes invalidates these previous design choices. This paper explores the changes that are required in a DBMS to leverage the unique properties of NVM in systems that still include volatile DRAM. We make the case for a new logging and recovery protocol, called write-behind logging, that enables a DBMS to recover nearly instantaneously from system failures. The key idea is that the DBMS logs what parts of the database have changed rather than how it was changed. Using this method, the DBMS flushes the changes to the database before recording them in the log. Our evaluation shows that this protocol improves a DBMS’s transactional throughput by 1.3×, reduces the recovery time by more than two orders of magnitude, and shrinks the storage footprint of the DBMS on NVM by 1.5×. We also demonstrate that our logging protocol is compatible with standard replication schemes.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Design and Implementation of a Non-Volatile Memory Database Management System

Thisdissertation explores the implications of emergent non-volatilememory (NVM) technologies for database management systems (DBMSs). The advent of NVM will fundamentally change the dichotomy between volatile memory and durable storage in DBMSs. These new NVM devices are almost as fast as DRAM, but all writes to it are potentially persistent even after power loss. Existing DBMSs are unable to t...

متن کامل

Enforcing Database Recoverability on Disks that Lack Write-Through

Most database systems use ARIES-like logging and recovery scheme to recover from failures and guarantee transactional consistency. ARIES relies on Write-Ahead Logging (WAL) protocol which requires that log records be durably written prior to the corresponding data changes. Database systems use the write-through capability of the storage media to enforce write-ahead logging. While SCSI disks tha...

متن کامل

BaSE(Byte addressable Storage Engine) Transaction Manager

Non-Volatile Memory (NVM) is an emerging memory technology that combines the best properties of current hard disks and main memories by providing non-volatility, high density, high speed, and byte addressability. This provides an opportunity to redesign systems and their software stacks to improve performance and to reduce the complexity. Present-day database systems are designed and optimized ...

متن کامل

On the Ubiquity of Logging in Distributed File Systems

Logging is a simple yet surprisingly versatile and powerful implementation technique. Since its invention and popularization as a recovery technique for transactional databases [3], it has been used for a variety of other purposes such as updating meta-data in file systems [4], exploiting write-once media [2, 12], maintaining authentication audit trails [10], and increasing the write bandwidth ...

متن کامل

ARIES/NT: A Recovery Method Based on Write-Ahead Logging for Nested Transactions

~hstt~ct A simple and efficient recovery method for nested transact.ions, called ARIES/NT (Algorithm for Recovery and Isolation Exploiting Semantics for Nested ‘I’ransactions), that uses wrile-ahead logging and supports semantically-rich modes of locking and operation logging is presented. ‘I’his method applies to a very general model of nested transactions, which includes parlial rollbacks of ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • PVLDB

دوره 10  شماره 

صفحات  -

تاریخ انتشار 2016